@import "@styles/theme.scss";

.order-submit {
  position: relative;
  overflow: hidden;
}

.order-submit__wrap {
  padding-bottom: 100px;
  background: #f4f4f4;
}

.address {
  background: #ffffff;
  position: relative;
  color: $text-color;
  margin-bottom: 20px;

  &-wrap {
    padding: $spacing-h-md $spacing-h-lg;
    font-size: $font-size-base;
  }

  &-info {
    font-size: $font-size-base;

    &-t {
      margin-bottom: 26px;
      position: relative;
      line-height: 44px;
      color: $text-color;
      font-weight: bold;
    }

    &-b {
      line-height: 36px;
      color: $text-color-light;
    }

    &-name {
      margin-right: 20px;
    }

    &-tel {

    }

    &-tab {
      margin-right: 16px;
      padding: 0 12px;
      position: relative;
      top: -4px;
      display: inline-block;
      height: 32px;
      line-height: 32px;
      font-size: 20px;
      color: #ffffff;
      background: -webkit-linear-gradient(left, #FF3C5A, rgba(255, 60, 90, 0.8));
      border-radius: 32px;
    }

    &-icon {
      position: absolute;
      top: 0;right: 0;
      height: 44px;
      line-height: 44px;
      color: #333;
    }
  }

  &-no {
    line-height: 106px;
    text-align: center;
    font-size: 32px;
    font-weight: bold;

    &-icon {
      margin-left: 16px;
    }
  }

  &-bg {
    margin-left: -343px;
    position: absolute;
    bottom: 0;left: 50%;
    width: 686px;
    height: 6px;
  }
}

.order-submit__price {
  margin-bottom: 20px;
  background: #ffffff;

  &-item {
    font-size: 28px;
    line-height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px 15px;
    color: $text-color;

    &-name {
      text-align:left;
    }

    &-value {
      text-align:right;
    }
  }
}

.message-box {
  margin-bottom: 20px;
  color: $text-color;
  background: #ffffff;

  &-item {
    height: 40px;
    font-size: 28px;
    line-heigth: 38px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: $spacing-h-md $spacing-h-lg $spacing-h-md;
  }
}

.message-box .at-input {
  height: 40px;
  padding: $spacing-h-md $spacing-h-lg $spacing-h-md;
  margin-left: 0;
}

.message-input .at-input__input {
  font-size: 28px;
}

.message-input .at-input__title {
  font-size: 28px;
  margin-right: 0;
  width: 150px;
}

.order-submit__list {
  margin-bottom: 20px;
}

.order-submit__footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  background: #fbfbfb;
  border-top: 1px solid $border-color;

  &-price {
    color: $primary-color;
    font-size: $font-size-lg;
    font-weight: 600;
    padding-left: $spacing-h-lg;
  }

  &-btn {
    font-size: $font-size-base;
    width: 226px;
  }
}
